package com.wangdao.mall.service;

import com.wangdao.mall.dao.IndexDao;
import com.wangdao.mall.dao.IndexDaoImp;
import com.wangdao.mall.model.Type;

import java.util.List;

/**
 * @Author:HaiyangTian
 * @Description:
 * @Date: Created in 22:02 2020/5/5
 * @Modified By:
 */
public class IndexServiceImp implements IndexService {

    private IndexDao indexDao = new IndexDaoImp();

    @Override
    public List<Type> getType() {
        return indexDao.getType();
    }
}
